[INFO] fetching crate rual-core 0.0.4... [INFO] building rual-core-0.0.4 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [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 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aeefb4d6e471e9128c40edf90a4c9f699c1a9c5b0db26f7799694123e161954e [INFO] running `Command { std: "docker" "start" "-a" "aeefb4d6e471e9128c40edf90a4c9f699c1a9c5b0db26f7799694123e161954e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aeefb4d6e471e9128c40edf90a4c9f699c1a9c5b0db26f7799694123e161954e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aeefb4d6e471e9128c40edf90a4c9f699c1a9c5b0db26f7799694123e161954e", kill_on_drop: false }` [INFO] [stdout] aeefb4d6e471e9128c40edf90a4c9f699c1a9c5b0db26f7799694123e161954e [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37904dfe6c4ce869cbe44cdb51a130d92e3cd73dcff6e0481981936ee614d8f6 [INFO] running `Command { std: "docker" "start" "-a" "37904dfe6c4ce869cbe44cdb51a130d92e3cd73dcff6e0481981936ee614d8f6", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] running `Command { std: "docker" "inspect" "37904dfe6c4ce869cbe44cdb51a130d92e3cd73dcff6e0481981936ee614d8f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37904dfe6c4ce869cbe44cdb51a130d92e3cd73dcff6e0481981936ee614d8f6", kill_on_drop: false }` [INFO] [stdout] 37904dfe6c4ce869cbe44cdb51a130d92e3cd73dcff6e0481981936ee614d8f6 [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d600c9de6812907f99bd2e810e43890afda2c96ebb202529cac2ceb3afa3b700 [INFO] running `Command { std: "docker" "start" "-a" "d600c9de6812907f99bd2e810e43890afda2c96ebb202529cac2ceb3afa3b700", kill_on_drop: false }` [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] [stderr] Compiling rual-core v0.0.4 (/opt/rustwide/workdir) [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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.44s [INFO] running `Command { std: "docker" "inspect" "d600c9de6812907f99bd2e810e43890afda2c96ebb202529cac2ceb3afa3b700", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d600c9de6812907f99bd2e810e43890afda2c96ebb202529cac2ceb3afa3b700", kill_on_drop: false }` [INFO] [stdout] d600c9de6812907f99bd2e810e43890afda2c96ebb202529cac2ceb3afa3b700