[INFO] cloning repository https://github.com/soedirgo/lox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/soedirgo/lox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoedirgo%2Flox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoedirgo%2Flox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7b0c868222d8ca5669d2e176369bb0abd60861ab [INFO] building soedirgo/lox 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%2Fsoedirgo%2Flox" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/soedirgo/lox 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/soedirgo/lox [INFO] finished tweaking git repo https://github.com/soedirgo/lox [INFO] tweaked toml for git repo https://github.com/soedirgo/lox written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/soedirgo/lox 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] bec486cd264f3844adace892367d0a4ff0c7beb7ba27839966ea9147aa9a138a [INFO] running `Command { std: "docker" "start" "-a" "bec486cd264f3844adace892367d0a4ff0c7beb7ba27839966ea9147aa9a138a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bec486cd264f3844adace892367d0a4ff0c7beb7ba27839966ea9147aa9a138a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bec486cd264f3844adace892367d0a4ff0c7beb7ba27839966ea9147aa9a138a", kill_on_drop: false }` [INFO] [stdout] bec486cd264f3844adace892367d0a4ff0c7beb7ba27839966ea9147aa9a138a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 5a281855e8234b528031c4db04542d0d011226f563f3b16b58e2eb00b21e54a6 [INFO] running `Command { std: "docker" "start" "-a" "5a281855e8234b528031c4db04542d0d011226f563f3b16b58e2eb00b21e54a6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling lox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `Lit`, `Un`, `Bin`, and `Grp` are never constructed [INFO] [stdout] --> src/expr.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 4 | Lit(Literal), [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | Un(Unary), [INFO] [stdout] | ^^ [INFO] [stdout] 6 | Bin(Binary), [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | Grp(Grouping), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Num`, `Str`, `True`, `False`, and `Nil` are never constructed [INFO] [stdout] --> src/expr.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum Literal { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 22 | Num(f64), [INFO] [stdout] | ^^^ [INFO] [stdout] 23 | Str(String), [INFO] [stdout] | ^^^ [INFO] [stdout] 24 | True, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | False, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Minus` and `Bang` are never constructed [INFO] [stdout] --> src/expr.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub enum UnaryOp { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 49 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 50 | Bang, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/expr.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub enum Op { [INFO] [stdout] | -- variants in this enum [INFO] [stdout] 66 | Equal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 67 | NotEqual, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 68 | Less, [INFO] [stdout] | ^^^^ [INFO] [stdout] 69 | LessEqual, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 70 | Greater, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 71 | GreaterEqual, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 72 | Plus, [INFO] [stdout] | ^^^^ [INFO] [stdout] 73 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 74 | Star, [INFO] [stdout] | ^^^^ [INFO] [stdout] 75 | Slash, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/token.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | Str(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Literal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 | Str(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/token.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | Num(f64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Literal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 | Num(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | panic!(65); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 43 | panic!("{}", 65); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 43 | std::panic::panic_any(65); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.27s [INFO] running `Command { std: "docker" "inspect" "5a281855e8234b528031c4db04542d0d011226f563f3b16b58e2eb00b21e54a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a281855e8234b528031c4db04542d0d011226f563f3b16b58e2eb00b21e54a6", kill_on_drop: false }` [INFO] [stdout] 5a281855e8234b528031c4db04542d0d011226f563f3b16b58e2eb00b21e54a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 82e9e62201adb0a9865f4ae3ff52baf3bc401579e2e0db54fe7f20a80fc952a1 [INFO] running `Command { std: "docker" "start" "-a" "82e9e62201adb0a9865f4ae3ff52baf3bc401579e2e0db54fe7f20a80fc952a1", kill_on_drop: false }` [INFO] [stderr] Compiling lox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `Lit`, `Un`, `Bin`, and `Grp` are never constructed [INFO] [stdout] --> src/expr.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 4 | Lit(Literal), [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | Un(Unary), [INFO] [stdout] | ^^ [INFO] [stdout] 6 | Bin(Binary), [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | Grp(Grouping), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Num`, `Str`, `True`, `False`, and `Nil` are never constructed [INFO] [stdout] --> src/expr.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum Literal { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 22 | Num(f64), [INFO] [stdout] | ^^^ [INFO] [stdout] 23 | Str(String), [INFO] [stdout] | ^^^ [INFO] [stdout] 24 | True, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | False, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Minus` and `Bang` are never constructed [INFO] [stdout] --> src/expr.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub enum UnaryOp { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 49 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 50 | Bang, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/expr.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub enum Op { [INFO] [stdout] | -- variants in this enum [INFO] [stdout] 66 | Equal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 67 | NotEqual, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 68 | Less, [INFO] [stdout] | ^^^^ [INFO] [stdout] 69 | LessEqual, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 70 | Greater, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 71 | GreaterEqual, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 72 | Plus, [INFO] [stdout] | ^^^^ [INFO] [stdout] 73 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 74 | Star, [INFO] [stdout] | ^^^^ [INFO] [stdout] 75 | Slash, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/token.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | Str(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Literal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 | Str(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/token.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | Num(f64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Literal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 | Num(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | panic!(65); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 43 | panic!("{}", 65); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 43 | std::panic::panic_any(65); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.41s [INFO] running `Command { std: "docker" "inspect" "82e9e62201adb0a9865f4ae3ff52baf3bc401579e2e0db54fe7f20a80fc952a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82e9e62201adb0a9865f4ae3ff52baf3bc401579e2e0db54fe7f20a80fc952a1", kill_on_drop: false }` [INFO] [stdout] 82e9e62201adb0a9865f4ae3ff52baf3bc401579e2e0db54fe7f20a80fc952a1