[INFO] cloning repository https://github.com/tomvanwoow/betadog [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tomvanwoow/betadog" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomvanwoow%2Fbetadog", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomvanwoow%2Fbetadog'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 88adc3d45cf05ba17892d0e16432159567b9bf7f [INFO] building tomvanwoow/betadog against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomvanwoow%2Fbetadog" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tomvanwoow/betadog 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 git repo https://github.com/tomvanwoow/betadog [INFO] finished tweaking git repo https://github.com/tomvanwoow/betadog [INFO] tweaked toml for git repo https://github.com/tomvanwoow/betadog written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tomvanwoow/betadog 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] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 62e62c8b935ada0bb9f7138e6376c3399f01eff260fb374b2f70aa8bfea7514c [INFO] running `Command { std: "docker" "start" "-a" "62e62c8b935ada0bb9f7138e6376c3399f01eff260fb374b2f70aa8bfea7514c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62e62c8b935ada0bb9f7138e6376c3399f01eff260fb374b2f70aa8bfea7514c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62e62c8b935ada0bb9f7138e6376c3399f01eff260fb374b2f70aa8bfea7514c", kill_on_drop: false }` [INFO] [stdout] 62e62c8b935ada0bb9f7138e6376c3399f01eff260fb374b2f70aa8bfea7514c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 4a87bce92e5844d62f6d3baa41e4318cd8153a9e12e7b3ad2ff347e43756bbca [INFO] running `Command { std: "docker" "start" "-a" "4a87bce92e5844d62f6d3baa41e4318cd8153a9e12e7b3ad2ff347e43756bbca", kill_on_drop: false }` [INFO] [stderr] Compiling betadog-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Expr` [INFO] [stdout] --> src/betadog/eval.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::expr::{Const, Expr}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `betadog::eval` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use betadog::eval; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eval_rat` is never used [INFO] [stdout] --> src/betadog/eval.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn eval_rat(r: rat::Rat) -> Const { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_const` is never used [INFO] [stdout] --> src/betadog/eval.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn add_const(lhs: Const, rhs: Const) -> Const { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sub_const` is never used [INFO] [stdout] --> src/betadog/eval.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn sub_const(lhs: Const, rhs: Const) -> Const { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mul_const` is never used [INFO] [stdout] --> src/betadog/eval.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn mul_const(lhs: Const, rhs: Const) -> Const { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `div_const` is never used [INFO] [stdout] --> src/betadog/eval.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn div_const(lhs: Const, rhs: Const) -> Const { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `negate_const` is never used [INFO] [stdout] --> src/betadog/eval.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn negate_const(expr: Const) -> Const { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reciprocal_const` is never used [INFO] [stdout] --> src/betadog/eval.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn reciprocal_const(expr: Const) -> Const { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mul_infinity_const` is never used [INFO] [stdout] --> src/betadog/eval.rs:97:4 [INFO] [stdout] | [INFO] [stdout] 97 | fn mul_infinity_const(expr: Const) -> Const { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Rat` and `NegInf` are never constructed [INFO] [stdout] --> src/betadog/expr.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Const { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | Rat(rat::Rat), [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | Inf, [INFO] [stdout] 11 | NegInf, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Const` 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: multiple variants are never constructed [INFO] [stdout] --> src/betadog/expr.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub enum Func { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 62 | Sin, [INFO] [stdout] | ^^^ [INFO] [stdout] 63 | Cos, [INFO] [stdout] | ^^^ [INFO] [stdout] 64 | Tan, [INFO] [stdout] | ^^^ [INFO] [stdout] 65 | [INFO] [stdout] 66 | ASin, [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | ACos, [INFO] [stdout] | ^^^^ [INFO] [stdout] 68 | ATan, [INFO] [stdout] | ^^^^ [INFO] [stdout] 69 | [INFO] [stdout] 70 | Log, [INFO] [stdout] | ^^^ [INFO] [stdout] 71 | Sqrt, [INFO] [stdout] | ^^^^ [INFO] [stdout] 72 | Cbrt, [INFO] [stdout] | ^^^^ [INFO] [stdout] 73 | Root, [INFO] [stdout] | ^^^^ [INFO] [stdout] 74 | [INFO] [stdout] 75 | Func(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Func` 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: variant `Call` is never constructed [INFO] [stdout] --> src/betadog/expr.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 100 | pub enum Expr { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 106 | Call(Func, Vec>), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.53s [INFO] running `Command { std: "docker" "inspect" "4a87bce92e5844d62f6d3baa41e4318cd8153a9e12e7b3ad2ff347e43756bbca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a87bce92e5844d62f6d3baa41e4318cd8153a9e12e7b3ad2ff347e43756bbca", kill_on_drop: false }` [INFO] [stdout] 4a87bce92e5844d62f6d3baa41e4318cd8153a9e12e7b3ad2ff347e43756bbca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] b10c24e4e066de4363bd72dcfcd5ee7d94d4b0b4c63d8642a29c363f1770bdf1 [INFO] running `Command { std: "docker" "start" "-a" "b10c24e4e066de4363bd72dcfcd5ee7d94d4b0b4c63d8642a29c363f1770bdf1", kill_on_drop: false }` [INFO] [stderr] Compiling betadog-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Expr` [INFO] [stdout] --> src/betadog/eval.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::expr::{Const, Expr}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::eval::*` [INFO] [stdout] --> src/betadog/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | use super::eval::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `betadog::eval` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use betadog::eval; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eval_rat` is never used [INFO] [stdout] --> src/betadog/eval.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn eval_rat(r: rat::Rat) -> Const { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_const` is never used [INFO] [stdout] --> src/betadog/eval.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn add_const(lhs: Const, rhs: Const) -> Const { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sub_const` is never used [INFO] [stdout] --> src/betadog/eval.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn sub_const(lhs: Const, rhs: Const) -> Const { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mul_const` is never used [INFO] [stdout] --> src/betadog/eval.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn mul_const(lhs: Const, rhs: Const) -> Const { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `div_const` is never used [INFO] [stdout] --> src/betadog/eval.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn div_const(lhs: Const, rhs: Const) -> Const { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `negate_const` is never used [INFO] [stdout] --> src/betadog/eval.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn negate_const(expr: Const) -> Const { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reciprocal_const` is never used [INFO] [stdout] --> src/betadog/eval.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn reciprocal_const(expr: Const) -> Const { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mul_infinity_const` is never used [INFO] [stdout] --> src/betadog/eval.rs:97:4 [INFO] [stdout] | [INFO] [stdout] 97 | fn mul_infinity_const(expr: Const) -> Const { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Rat` and `NegInf` are never constructed [INFO] [stdout] --> src/betadog/expr.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Const { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | Rat(rat::Rat), [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | Inf, [INFO] [stdout] 11 | NegInf, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Const` 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: multiple variants are never constructed [INFO] [stdout] --> src/betadog/expr.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub enum Func { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 62 | Sin, [INFO] [stdout] | ^^^ [INFO] [stdout] 63 | Cos, [INFO] [stdout] | ^^^ [INFO] [stdout] 64 | Tan, [INFO] [stdout] | ^^^ [INFO] [stdout] 65 | [INFO] [stdout] 66 | ASin, [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | ACos, [INFO] [stdout] | ^^^^ [INFO] [stdout] 68 | ATan, [INFO] [stdout] | ^^^^ [INFO] [stdout] 69 | [INFO] [stdout] 70 | Log, [INFO] [stdout] | ^^^ [INFO] [stdout] 71 | Sqrt, [INFO] [stdout] | ^^^^ [INFO] [stdout] 72 | Cbrt, [INFO] [stdout] | ^^^^ [INFO] [stdout] 73 | Root, [INFO] [stdout] | ^^^^ [INFO] [stdout] 74 | [INFO] [stdout] 75 | Func(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Func` 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: variant `Call` is never constructed [INFO] [stdout] --> src/betadog/expr.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 100 | pub enum Expr { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 106 | Call(Func, Vec>), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.65s [INFO] running `Command { std: "docker" "inspect" "b10c24e4e066de4363bd72dcfcd5ee7d94d4b0b4c63d8642a29c363f1770bdf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b10c24e4e066de4363bd72dcfcd5ee7d94d4b0b4c63d8642a29c363f1770bdf1", kill_on_drop: false }` [INFO] [stdout] b10c24e4e066de4363bd72dcfcd5ee7d94d4b0b4c63d8642a29c363f1770bdf1