[INFO] fetching crate oni-comb-toys-rs 0.0.2... [INFO] building oni-comb-toys-rs-0.0.2 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate oni-comb-toys-rs 0.0.2 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate oni-comb-toys-rs 0.0.2 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 oni-comb-toys-rs 0.0.2 [INFO] finished tweaking crates.io crate oni-comb-toys-rs 0.0.2 [INFO] tweaked toml for crates.io crate oni-comb-toys-rs 0.0.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate crates.io crate oni-comb-toys-rs 0.0.2 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `edition2021` has been stabilized in the 1.56 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded oni-comb-parser-rs v0.0.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 7919ddfcc63709a9374219eaae0fc4e81318c562c6ee1f495b174b05ce31f86c [INFO] running `Command { std: "docker" "start" "-a" "7919ddfcc63709a9374219eaae0fc4e81318c562c6ee1f495b174b05ce31f86c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7919ddfcc63709a9374219eaae0fc4e81318c562c6ee1f495b174b05ce31f86c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7919ddfcc63709a9374219eaae0fc4e81318c562c6ee1f495b174b05ce31f86c", kill_on_drop: false }` [INFO] [stdout] 7919ddfcc63709a9374219eaae0fc4e81318c562c6ee1f495b174b05ce31f86c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 1afe9265c5058703eaa8212796273bfcacc5b87b2833e9e53f9af6362015c70a [INFO] running `Command { std: "docker" "start" "-a" "1afe9265c5058703eaa8212796273bfcacc5b87b2833e9e53f9af6362015c70a", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `edition2021` has been stabilized in the 1.56 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling oni-comb-parser-rs v0.0.5 [INFO] [stderr] Compiling oni-comb-toys-rs v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `as_bindings_mut` is never used [INFO] [stdout] --> src/environment.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 11 | impl Environment { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 12 | pub fn as_bindings_mut(&mut self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Identifier`, `Plus`, and `Minus` are never constructed [INFO] [stdout] --> src/expr.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | Identifier(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | Plus(Rc), [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | Minus(Rc), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `of_binary` is never used [INFO] [stdout] --> src/expr.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 30 | impl Expr { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn of_binary(operator: Operator, lhs: Rc, rhs: Rc) -> Rc { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reset` and `get_value` are never used [INFO] [stdout] --> src/interpreter.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 13 | impl Interpreter { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn get_value(&self, name: &str) -> &Value { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lines` is never used [INFO] [stdout] --> src/parsers.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn lines<'a>() -> Parser<'a, char, Vec>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Array` is never constructed [INFO] [stdout] --> src/values.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Value { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | Array(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_string` is never used [INFO] [stdout] --> src/values.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 26 | impl Value { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn as_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.62s [INFO] running `Command { std: "docker" "inspect" "1afe9265c5058703eaa8212796273bfcacc5b87b2833e9e53f9af6362015c70a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1afe9265c5058703eaa8212796273bfcacc5b87b2833e9e53f9af6362015c70a", kill_on_drop: false }` [INFO] [stdout] 1afe9265c5058703eaa8212796273bfcacc5b87b2833e9e53f9af6362015c70a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] bb32eaba90c07a19396992e4b5983e2cb14971de33300026480fe65448f0eab8 [INFO] running `Command { std: "docker" "start" "-a" "bb32eaba90c07a19396992e4b5983e2cb14971de33300026480fe65448f0eab8", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `edition2021` has been stabilized in the 1.56 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling oni-comb-parser-rs v0.0.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling oni-comb-toys-rs v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `as_bindings_mut` is never used [INFO] [stdout] --> src/environment.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 11 | impl Environment { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 12 | pub fn as_bindings_mut(&mut self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Identifier`, `Plus`, and `Minus` are never constructed [INFO] [stdout] --> src/expr.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | Identifier(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | Plus(Rc), [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | Minus(Rc), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reset` and `get_value` are never used [INFO] [stdout] --> src/interpreter.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 13 | impl Interpreter { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn get_value(&self, name: &str) -> &Value { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lines` is never used [INFO] [stdout] --> src/parsers.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn lines<'a>() -> Parser<'a, char, Vec>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Array` is never constructed [INFO] [stdout] --> src/values.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Value { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | Array(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_string` is never used [INFO] [stdout] --> src/values.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 26 | impl Value { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn as_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.79s [INFO] running `Command { std: "docker" "inspect" "bb32eaba90c07a19396992e4b5983e2cb14971de33300026480fe65448f0eab8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb32eaba90c07a19396992e4b5983e2cb14971de33300026480fe65448f0eab8", kill_on_drop: false }` [INFO] [stdout] bb32eaba90c07a19396992e4b5983e2cb14971de33300026480fe65448f0eab8