[INFO] cloning repository https://github.com/binaryoverload/DiceRollParser-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/binaryoverload/DiceRollParser-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbinaryoverload%2FDiceRollParser-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbinaryoverload%2FDiceRollParser-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 10c2047e448b3ce58816791d2f8537ea8a156501 [INFO] building binaryoverload/DiceRollParser-Rust 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%2Fbinaryoverload%2FDiceRollParser-Rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/binaryoverload/DiceRollParser-Rust 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/binaryoverload/DiceRollParser-Rust [INFO] finished tweaking git repo https://github.com/binaryoverload/DiceRollParser-Rust [INFO] tweaked toml for git repo https://github.com/binaryoverload/DiceRollParser-Rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/binaryoverload/DiceRollParser-Rust 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-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] b190e60de38fb629964775915b42a7eb77f508a5ab40a9fe0dc9673a233d7973 [INFO] running `Command { std: "docker" "start" "-a" "b190e60de38fb629964775915b42a7eb77f508a5ab40a9fe0dc9673a233d7973", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b190e60de38fb629964775915b42a7eb77f508a5ab40a9fe0dc9673a233d7973", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b190e60de38fb629964775915b42a7eb77f508a5ab40a9fe0dc9673a233d7973", kill_on_drop: false }` [INFO] [stdout] b190e60de38fb629964775915b42a7eb77f508a5ab40a9fe0dc9673a233d7973 [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] b9b01fd4e371784308498bc6cb39c711a3ab1cc59eed9ca2379d15890b63fbef [INFO] running `Command { std: "docker" "start" "-a" "b9b01fd4e371784308498bc6cb39c711a3ab1cc59eed9ca2379d15890b63fbef", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling dicerollparser_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `number_of_dice` and `number_of_sides` are never read [INFO] [stdout] --> src/types.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) struct Dice { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 3 | pub(crate) number_of_dice: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 4 | pub(crate) number_of_sides: u8 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `operator` and `value` are never read [INFO] [stdout] --> src/types.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct ValueOperator { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 9 | pub(crate) operator: OperatorType, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | pub(crate) value: u8 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValueOperator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `modifier_type`, `modifier_value`, and `selector` are never read [INFO] [stdout] --> src/types.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) struct Modifier { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 43 | pub(crate) modifier_type: ModifierType, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 44 | pub(crate) modifier_value: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 45 | pub(crate) selector: Option<(SelectorType, u8)> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modifier` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dice`, `modifiers`, `value_operators`, `label`, and `joining_operator` are never read [INFO] [stdout] --> src/types.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) struct DiceRoll<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 50 | pub(crate) dice: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 51 | pub(crate) modifiers: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 52 | pub(crate) value_operators: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | pub(crate) label: Option<&'a str>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 54 | pub(crate) joining_operator: Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiceRoll` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `calculate_dice` is never used [INFO] [stdout] --> src/impls.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl DiceRoll<'_> { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 52 | [INFO] [stdout] 53 | fn calculate_dice(dice: &Dice) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.89s [INFO] running `Command { std: "docker" "inspect" "b9b01fd4e371784308498bc6cb39c711a3ab1cc59eed9ca2379d15890b63fbef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9b01fd4e371784308498bc6cb39c711a3ab1cc59eed9ca2379d15890b63fbef", kill_on_drop: false }` [INFO] [stdout] b9b01fd4e371784308498bc6cb39c711a3ab1cc59eed9ca2379d15890b63fbef [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] b2a67823f68d984e528ad0dc1a295733c311b5bc5646430edf583bb7d3628523 [INFO] running `Command { std: "docker" "start" "-a" "b2a67823f68d984e528ad0dc1a295733c311b5bc5646430edf583bb7d3628523", kill_on_drop: false }` [INFO] [stderr] Compiling dicerollparser_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `number_of_dice` and `number_of_sides` are never read [INFO] [stdout] --> src/types.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) struct Dice { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 3 | pub(crate) number_of_dice: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 4 | pub(crate) number_of_sides: u8 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `operator` and `value` are never read [INFO] [stdout] --> src/types.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct ValueOperator { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 9 | pub(crate) operator: OperatorType, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | pub(crate) value: u8 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValueOperator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `modifier_type`, `modifier_value`, and `selector` are never read [INFO] [stdout] --> src/types.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) struct Modifier { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 43 | pub(crate) modifier_type: ModifierType, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 44 | pub(crate) modifier_value: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 45 | pub(crate) selector: Option<(SelectorType, u8)> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modifier` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dice`, `modifiers`, `value_operators`, `label`, and `joining_operator` are never read [INFO] [stdout] --> src/types.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) struct DiceRoll<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 50 | pub(crate) dice: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 51 | pub(crate) modifiers: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 52 | pub(crate) value_operators: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | pub(crate) label: Option<&'a str>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 54 | pub(crate) joining_operator: Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiceRoll` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `calculate_dice` is never used [INFO] [stdout] --> src/impls.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl DiceRoll<'_> { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 52 | [INFO] [stdout] 53 | fn calculate_dice(dice: &Dice) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] running `Command { std: "docker" "inspect" "b2a67823f68d984e528ad0dc1a295733c311b5bc5646430edf583bb7d3628523", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2a67823f68d984e528ad0dc1a295733c311b5bc5646430edf583bb7d3628523", kill_on_drop: false }` [INFO] [stdout] b2a67823f68d984e528ad0dc1a295733c311b5bc5646430edf583bb7d3628523